package com.chengqj.factory.simplefactory;

/**
 * @program: pattern
 * @description: 具体产品角色
 * @author: chengqj
 * @create: 2018-08-06 09:08
 **/
public class AppleFruit implements IFruit {
    @Override
    public void grow() {
        System.out.println("apple grow ！！");
    }

    public static void main(String[] args) {
        FruitFactory.createFruit().grow();
    }
}
